// samsting : this file is auto create.

#include "Rds/2014-08-15/DescribeSlowLogsResponse.h"

namespace aliyun { namespace Rds {

DescribeSlowLogsResponse::DescribeSlowLogsResponse() {
}

int64 DescribeSlowLogsResponse::SQLSlowLog::GetSlowLogId(void) const {
  return SlowLogId_;
}

int64 DescribeSlowLogsResponse::SQLSlowLog::GetSQLId(void) const {
  return SQLId_;
}

const string& DescribeSlowLogsResponse::SQLSlowLog::GetDBName(void) const {
  return DBName_;
}

const string& DescribeSlowLogsResponse::SQLSlowLog::GetSQLText(void) const {
  return SQLText_;
}

int64 DescribeSlowLogsResponse::SQLSlowLog::GetMySQLTotalExecutionCounts(void) const {
  return MySQLTotalExecutionCounts_;
}

int64 DescribeSlowLogsResponse::SQLSlowLog::GetMySQLTotalExecutionTimes(void) const {
  return MySQLTotalExecutionTimes_;
}

int64 DescribeSlowLogsResponse::SQLSlowLog::GetTotalLockTimes(void) const {
  return TotalLockTimes_;
}

int64 DescribeSlowLogsResponse::SQLSlowLog::GetMaxLockTime(void) const {
  return MaxLockTime_;
}

int64 DescribeSlowLogsResponse::SQLSlowLog::GetParseTotalRowCounts(void) const {
  return ParseTotalRowCounts_;
}

int64 DescribeSlowLogsResponse::SQLSlowLog::GetParseMaxRowCount(void) const {
  return ParseMaxRowCount_;
}

int64 DescribeSlowLogsResponse::SQLSlowLog::GetReturnTotalRowCounts(void) const {
  return ReturnTotalRowCounts_;
}

int64 DescribeSlowLogsResponse::SQLSlowLog::GetReturnMaxRowCount(void) const {
  return ReturnMaxRowCount_;
}

const string& DescribeSlowLogsResponse::SQLSlowLog::GetCreateTime(void) const {
  return CreateTime_;
}

int64 DescribeSlowLogsResponse::SQLSlowLog::GetSQLServerTotalExecutionCounts(void) const {
  return SQLServerTotalExecutionCounts_;
}

int64 DescribeSlowLogsResponse::SQLSlowLog::GetSQLServerTotalExecutionTimes(void) const {
  return SQLServerTotalExecutionTimes_;
}

int64 DescribeSlowLogsResponse::SQLSlowLog::GetTotalLogicalReadCounts(void) const {
  return TotalLogicalReadCounts_;
}

int64 DescribeSlowLogsResponse::SQLSlowLog::GetTotalPhysicalReadCounts(void) const {
  return TotalPhysicalReadCounts_;
}

const string& DescribeSlowLogsResponse::SQLSlowLog::GetReportTime(void) const {
  return ReportTime_;
}

int64 DescribeSlowLogsResponse::SQLSlowLog::GetMaxExecutionTime(void) const {
  return MaxExecutionTime_;
}

int64 DescribeSlowLogsResponse::SQLSlowLog::GetAvgExecutionTime(void) const {
  return AvgExecutionTime_;
}

const std::vector<DescribeSlowLogsResponse::SQLSlowLog>& DescribeSlowLogsResponse::GetItems(void) const {
  return Items_;
}

const string& DescribeSlowLogsResponse::GetEngine(void) const {
  return Engine_;
}

const string& DescribeSlowLogsResponse::GetStartTime(void) const {
  return StartTime_;
}

const string& DescribeSlowLogsResponse::GetEndTime(void) const {
  return EndTime_;
}

int DescribeSlowLogsResponse::GetTotalRecordCount(void) const {
  return TotalRecordCount_;
}

int DescribeSlowLogsResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int DescribeSlowLogsResponse::GetPageRecordCount(void) const {
  return PageRecordCount_;
}

const char* DescribeSlowLogsResponse::BaseKey(void) {
  return "DescribeSlowLogsResponse";
}

void DescribeSlowLogsResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Items__length = 0;
  UnmarshallerInt(Items__length, response_map, "DescribeSlowLogsResponse.Items.Length");
  if(Items__length >= 0) {
    Items_.resize(Items__length);
    for(int i1 = 0; i1 < Items__length; i1++) {
      UnmarshallerInt64(Items_[i1].SlowLogId_, response_map, "DescribeSlowLogsResponse.Items["+string_ValueOfInt(i1)+"].SlowLogId");
      UnmarshallerInt64(Items_[i1].SQLId_, response_map, "DescribeSlowLogsResponse.Items["+string_ValueOfInt(i1)+"].SQLId");
      UnmarshallerString(Items_[i1].DBName_, response_map, "DescribeSlowLogsResponse.Items["+string_ValueOfInt(i1)+"].DBName");
      UnmarshallerString(Items_[i1].SQLText_, response_map, "DescribeSlowLogsResponse.Items["+string_ValueOfInt(i1)+"].SQLText");
      UnmarshallerInt64(Items_[i1].MySQLTotalExecutionCounts_, response_map, "DescribeSlowLogsResponse.Items["+string_ValueOfInt(i1)+"].MySQLTotalExecutionCounts");
      UnmarshallerInt64(Items_[i1].MySQLTotalExecutionTimes_, response_map, "DescribeSlowLogsResponse.Items["+string_ValueOfInt(i1)+"].MySQLTotalExecutionTimes");
      UnmarshallerInt64(Items_[i1].TotalLockTimes_, response_map, "DescribeSlowLogsResponse.Items["+string_ValueOfInt(i1)+"].TotalLockTimes");
      UnmarshallerInt64(Items_[i1].MaxLockTime_, response_map, "DescribeSlowLogsResponse.Items["+string_ValueOfInt(i1)+"].MaxLockTime");
      UnmarshallerInt64(Items_[i1].ParseTotalRowCounts_, response_map, "DescribeSlowLogsResponse.Items["+string_ValueOfInt(i1)+"].ParseTotalRowCounts");
      UnmarshallerInt64(Items_[i1].ParseMaxRowCount_, response_map, "DescribeSlowLogsResponse.Items["+string_ValueOfInt(i1)+"].ParseMaxRowCount");
      UnmarshallerInt64(Items_[i1].ReturnTotalRowCounts_, response_map, "DescribeSlowLogsResponse.Items["+string_ValueOfInt(i1)+"].ReturnTotalRowCounts");
      UnmarshallerInt64(Items_[i1].ReturnMaxRowCount_, response_map, "DescribeSlowLogsResponse.Items["+string_ValueOfInt(i1)+"].ReturnMaxRowCount");
      UnmarshallerString(Items_[i1].CreateTime_, response_map, "DescribeSlowLogsResponse.Items["+string_ValueOfInt(i1)+"].CreateTime");
      UnmarshallerInt64(Items_[i1].SQLServerTotalExecutionCounts_, response_map, "DescribeSlowLogsResponse.Items["+string_ValueOfInt(i1)+"].SQLServerTotalExecutionCounts");
      UnmarshallerInt64(Items_[i1].SQLServerTotalExecutionTimes_, response_map, "DescribeSlowLogsResponse.Items["+string_ValueOfInt(i1)+"].SQLServerTotalExecutionTimes");
      UnmarshallerInt64(Items_[i1].TotalLogicalReadCounts_, response_map, "DescribeSlowLogsResponse.Items["+string_ValueOfInt(i1)+"].TotalLogicalReadCounts");
      UnmarshallerInt64(Items_[i1].TotalPhysicalReadCounts_, response_map, "DescribeSlowLogsResponse.Items["+string_ValueOfInt(i1)+"].TotalPhysicalReadCounts");
      UnmarshallerString(Items_[i1].ReportTime_, response_map, "DescribeSlowLogsResponse.Items["+string_ValueOfInt(i1)+"].ReportTime");
      UnmarshallerInt64(Items_[i1].MaxExecutionTime_, response_map, "DescribeSlowLogsResponse.Items["+string_ValueOfInt(i1)+"].MaxExecutionTime");
      UnmarshallerInt64(Items_[i1].AvgExecutionTime_, response_map, "DescribeSlowLogsResponse.Items["+string_ValueOfInt(i1)+"].AvgExecutionTime");
    } // for(int i1 = 0; i1 < Items__length; i1++) {
  } // if(Items__length >= 0) {

  UnmarshallerString(Engine_, response_map, "DescribeSlowLogsResponse.Engine");
  UnmarshallerString(StartTime_, response_map, "DescribeSlowLogsResponse.StartTime");
  UnmarshallerString(EndTime_, response_map, "DescribeSlowLogsResponse.EndTime");
  UnmarshallerInt(TotalRecordCount_, response_map, "DescribeSlowLogsResponse.TotalRecordCount");
  UnmarshallerInt(PageNumber_, response_map, "DescribeSlowLogsResponse.PageNumber");
  UnmarshallerInt(PageRecordCount_, response_map, "DescribeSlowLogsResponse.PageRecordCount");
}


} } // namespace aliyun { namespace Rds {

// end of file 
